package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 商家类型表 businesstype
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public class Shangjiatype extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 商家类型ID */
	private Integer shangjiatypeId;
	/** 商家类型名称 */
	private String businesstypeName;
	/** 创建时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	/** 扩展字段 */
	private String attribute;
	private boolean flag = false;

	public void setBusinesstypeName(String businesstypeName) 
	{
		this.businesstypeName = businesstypeName;
	}

	public String getBusinesstypeName() 
	{
		return businesstypeName;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shangjiatypeId", getShangjiatypeId())
            .append("businesstypeName", getBusinesstypeName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }

	public Integer getShangjiatypeId() {
		return shangjiatypeId;
	}

	public void setShangjiatypeId(Integer shangjiatypeId) {
		this.shangjiatypeId = shangjiatypeId;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}
}
